package com.kikcn.jpa.repo;

import com.kikcn.jpa.entity.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Yubin Lai on 2017/8/14.
 */
@Repository
public interface UserRepository extends CrudRepository<User,String>  {
    public User findByEmail(String email);
}
